import Vue from "vue";
import Vuex from "vuex";
import actions from "./actions";
import mutations from "./mutations";
import state from "./state";
import types from "./modules/types";
import roll from "./modules/roll";

Vue.use(Vuex);
var store = new Vuex.Store({
  state,
  mutations,
  actions,
  modules: {
    types,
    roll
  }
});

export default store;
